package com.zhigongtech.tender.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.zhigongtech.extension.entry.DataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * menu 菜单
 * </p>
 *
 * @author Alan
 * @since 2019-05-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_menu")
@ApiModel(value="Menu对象", description="menu 菜单")
public class Menu extends DataEntity<Menu> {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "菜单父级")
    private String parentId;

    @ApiModelProperty(value = "菜单父级集合")
    private String parentIds;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "英文名称")
    private String nameEn;

    @ApiModelProperty(value = "中文名称")
    private String nameZh;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "链接")
    private String href;

    @ApiModelProperty(value = "打开页面目标")
    private String target;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "是否显示")
    private String isShow;

    @ApiModelProperty(value = "权限编码")
    private String permission;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "删除标记：0-正常，1-删除")
    private String delFlag;


}
